﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yto.Entities;

namespace com.ytocargo.Core.AcarsInfos
{
    [Table("T9016")]
    public class AcarsInfo : Entity
    {
        [Column("ID")]
        public override int Id { get => base.Id; set => base.Id = value; }

        //报文标识
        [Column("MSGID")]
        public string MsgId { get; set; }

        //机号
        [Column("AN")]
        public string An { get; set; }

        //航班号
        [Column("FI")]
        public string Fi { get; set; }

        //RGS站点
        [Column("RGS")]
        public string Rgs { get; set; }

        //报文类型
        [Column("REPTYPE")]
        public string RepType { get; set; }

        //RGS站时间
        [Column("RGSTIME")]
        public DateTime? RgsTime { get; set; }

        //模板标识
        [Column("STREAM")]
        public string Stream { get; set; }

        //DSP代码
        [Column("DSP")]
        public string Dsp { get; set; }

        //维度
        [Column("LON")]
        public string Lon { get; set; }

        //经度
        [Column("LAT")]
        public string Lat { get; set; }

        //高度
        [Column("HEIGHT")]
        public string Height { get; set; }

        //起飞站四码
        [Column("TKOFIELD")]
        public string TkoField { get; set; }

        //字段内容
        [Column("FIELD_TIME")]
        public string FieldTime { get; set; }

        //到达站四码
        [Column("DESFIELD")]
        public string DesField { get; set; }

        //FOB油量
        [Column("FOB")]
        public string Fob { get; set; }

        //下载时间
        [Column("DOWNTIME")]
        public string DownTime { get; set; }

        //报文内容
        [Column("TELE_CONTENT")]
        public string TeleContent { get; set; }

        //处理过内容
        [Column("LINE_CONTENT")]
        public string LineContent { get; set; }

        //RGS站时间
        [Column("RGSTIME_1")]
        public DateTime? RgsTime1 { get; set; }

        //阅读标志
        [Column("READ_FLAG")]
        public string ReadFlag { get; set; }

        [Column("FIELD_TIME2")]
        public string FieldTime2 { get; set; }

        //航班号
        [Column("FLIGHT_ID")]
        public int? FlightId { get; set; }

        //发送标志
        [Column("SEND_FLAG")]
        public bool SendFlag { get; set; }

    }
}
